.shop-detail-box {
    width: 570px;
    border: 1px solid #ccc;
    height: 700px;
    margin: 50px auto;
}

#imgbig {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
}

#imgsmall {
    width: 100%;
    height: 148px;
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

#imgbig img {
    width: 570px;
    height: 550px;
}

#imgbig ul {
    left: 0px;
}

#imgsmall img {
    width: 110px;
    height: 110px;
    box-sizing: border-box;
}

#imgsmall ul {
    background-color: #ccc;
    left: 10px;
    height: 100%;
}

#imgsmall ul li {
    margin: auto 10px;
}

ul {
    position: absolute;
    display: flex;
    list-style: none;
}

input {
    width: 20px;
    z-index: 1;
}

.active {
    border: 1px solid green;
}